//
//  HDDeclare+Language.m
//  HDWuDaDaoServiceCenter
//
//  Created by HDNiuKuiming on 2017/4/7.
//  Copyright © 2017年 HDNiuKuiming. All rights reserved.
//

#import "HDDeclare+Language.h"

@implementation HDDeclare (Language)

- (void)setLanguageType:(Language_Type)languageType
{
    if (languageType == kLanguage_Type_Chinese)
    {
        self.language         = @"CHINESE";
        self.setting_language = @"语言选择";
        self.museumName       = @"成都博物馆";
        //提示框（多个地方用到）
        self.alertTitle  = @"提示";
        self.alertCancel = @"取 消";
        self.cameraUnavailable = @"没有权限访问相机，请到设置页面修改相机访问权限。";
        self.beaconUnavailable = @"没有权限访问蓝牙，请到设置页面修改蓝牙访问权限。";
        self.beaconClose = @"请打开蓝牙。";
        
        self.alertOK       = @"确定";
        self.InvalidInput  = @"不存在此编号！";
        self.sizeIsZero    = @"暂无讲解";
        self.download_Size = @"大小";
        
        // 首屏：
        self.QRCodePage   = @"二维码导览";
        
        //下载与解压：
        self.downloading           = @"正在下载，请稍候";
        self.downloadingNow        = @"正在下载...";
        self.downloadFailed        = @"资源下载失败！";
        self.connectFailed         = @"请求失败";
        self.downloadNetFailed     = @"资源下载失败，请检查网络设置！";
        self.downloadSizeZero      = @"抱歉，未获取到服务器资源。";
        self.instralling           = @"正在安装资源文件...";
        self.deleteRes             = @"删除资源";
        self.noResTip              = @"当前语种暂无资源";
        self.deleteResTip          = @"确认删除当前语种下的所有资源吗？";
        self.autoGuideSearch       = @"请输入展品名称/编号";
        
        //组群：
        self.joinGroup             = @"加入群组";
        self.exitGroup             = @"退出";
        self.registerGroup         = @"创建群组";
        self.registerFailed        = @"注册失败！";
        self.myGroupQuit           = @"确定要退出本组吗？";
        self.myGroupNumberEnter    = @"输入想要加入的群组号";
        self.myEnterNumber         = @"请输入数字";
        
        //设置：
        self.settingLanguage      = @"语言选择";
        self.allResourceTips      = @"讲解资源已经存在，是否重新下载全部展品资源？";
        self.strategy_feedback    = @"意见反馈";
        
        self.joinFailed            = @"加入失败";
        self.joinSuccess           = @"加入成功";
        self.noLocationInfo        = @"暂无当前成员的馆内位置信息";
        self.myinformation         = @"我的信息";
        self.inputNickName         = @"请输入新的昵称";
        self.nickNameFailed        = @"修改失败";
        
        self.nameNotNil            = @"昵称不能为空，不能包含空格";
        self.nameLabel             = @"昵称:";
        self.mineCategory          = @"组别：";
        
        self.rootDownloadTip       = @"为方便您的参观请下载";
        self.rootDownloadAll       = @"下载全部展品资源";
        self.rootDownloadThumb     = @"仅下载全部展品图片";
        self.rootLogin             = @"登录";
        self.tipInputNameLogin     = @"输入账号";
        
        self.login_by_other        = @"使用其他账号登录";
        self.rootRegister          = @"注册";
        self.registerID            = @"输入账号";
        self.registerPwdInput      = @"输入密码";
        self.registerID6_8         = @"账号（6到20位）";
        
        self.registerPwd           = @"6-20位字母数字组成";
        self.registerPwdSure       = @"确认密码";
        self.registerNickName      = @"昵称";
        self.registerPhone         = @"手机";
        self.registerSubmit        = @"提交";
        self.registerSuccess       = @"注册成功";
        self.loginSuccess          = @"登录成功";
        self.loginFailed           = @"登录失败";
        self.loginOutFailed        = @"退出失败";
        self.loginOutSuccess       = @"已退出";
        self.under_check           = @"您的评论\n已提交审核";
        
        self.strategy_intro          = @"场馆简介";
        self.strategy_visit_guide    = @"参观指南";
        self.strategy_traffic        = @"交通信息";
        self.strategy_near_scene     = @"周边旅游";
        self.strategy_near_eating    = @"周边餐饮";
        self.strategy_book_online    = @"在线预约";
        self.strategy_book_ticket    = @"门票预约";
        
        self.strategy_study          = @"学习单";
        self.strategy_companion      = @"我的同伴";
        self.strategy_survey         = @"调查问卷";
        self.strategy_help           = @"咨询帮助";
        self.strategy_setting        = @"设置";
        
        self.login_photo             = @"选择头像";
        self.login_take_photo        = @"拍照";
        self.login_take_album        = @"从相册中选取";
        self.mine_footprint          = @"我的足迹";
        self.mine_booking            = @"在线预约";
        self.mine_comment            = @"我的评论";
        self.mine_prize              = @"我的点赞";
        self.mine_volunteer          = @"志愿者";
        
        self.root_news               = @"消息";
        self.root_no_news            = @"暂无消息";
        self.strategy_mechine_book   = @"预约导览机";
        self.strategy_guide_book     = @"预约讲解服务";
        self.mine_begin_study        = @"开始答题";
        self.donwloading_res         = @"资源下载";
        self.delete_res              = @"清空资源";
        self.setting_version         = @"版本信息";
        self.setting_logout          = @"退出登录";
        
        self.no_such_goods           = @"没有相关展品";
        self.cd_museum_area          = @"成博圈";
        self.cd_museum_area_detail   = @"成博圈详情";
        self.cd_mine_post            = @"我的发布";
        self.cd_mine_post_nil        = @"暂无发布";
        self.cd_mine_comment         = @"写评论";
        self.cd_mine_send            = @"发送";
        self.cd_mine_comment_nil     = @"评论为空";
        self.cd_mine_idea            = @"这一刻的想法";
        
        self.min_info_photo          = @"头像";
        self.min_info_name           = @"昵称";
        self.min_info_sex            = @"性别";
        self.min_info_card           = @"证件";
        self.min_info_career         = @"职业";
        self.min_info_signature      = @"个性签名";
        
        self.min_info_card_type    = @"证件类型";
        self.min_info_card_number  = @"请输入证件号";
        self.min_edit_sex          = @"编辑性别";
        self.min_edit_card         = @"编辑证件";
        self.min_edit_career       = @"编辑职业";
        self.min_edit_signature    = @"编辑个性签名";
        self.mine_new_nickname     = @"编辑昵称";
        self.min_edit_career_other = @"其他职业";
        self.min_edit_career_input = @"请输入职业名称";
        
        self.root_vc_news          = @"资讯";
        self.root_vc_highlight     = @"精品";
        self.root_vc_photo         = @"圈子";
        self.root_vc_search        = @"搜索";
        self.news_vc_activity      = @"活动";
        self.news_vc_message       = @"消息";
        
        self.root_culture_goods      = @"文创";
        self.root_res_list           = @"列表";
        self.root_map                = @"地图";
        self.root_floor_change       = @"切换楼层";
        self.root_share_photo        = @"照片分享";
        self.root_my_loc             = @"我的位置";
        self.root_service_utility    = @"服务设施";
        self.root_no_loc             = @"暂无该楼层\n位置";
        self.friend_no_loc           = @"暂无位置";
        
        self.map_locate_pre          = @"定位到您在";
        self.map_locate_suffix       = @"，是否进入？";
        self.map_wash_room           = @"洗手间";
        self.map_drinking            = @"饮水处";
        self.map_baby_room           = @"育婴室";
        self.map_lift                = @"电梯";
        self.map_ladder              = @"扶梯";
        self.map_rest_area           = @"休息区";
        self.map_culture_area        = @"文创服务区";
        self.map_cafe                = @"咖啡厅";
        self.map_eating              = @"餐饮区";
        self.map_bookstore           = @"书吧";
        self.map_study_area          = @"公共教育区";
        
        self.map_route_creat         = @"路线选择";
        self.map_route_creat_ok      = @"生成路线";
        self.map_route_hot           = @"热门路线";
        self.map_route_fine          = @"镇馆之宝路线";
        self.map_route_quick         = @"快速参观路线";
        self.map_route_son           = @"亲子参观路线";
        self.map_route_brick         = @"汉代画像砖石路线";
        self.map_route_mine          = @"自定义路线";
        self.userSignature           = @"暂无个性签名";
        self.map_loc_start           = @"起始位置";
        
        self.root_list_product_pre   = @"件展品";
        self.player_product_nearby   = @"您附近有";
        self.player_share_failed     = @"分享失败";
        self.player_share_success    = @"分享成功";
        self.player_enter_floor      = @"进入当前展厅";
        self.now_net_unknown         = @"当前网络链接为未识别的网络";
        self.now_net_unconnect       = @"网络不可达，请连接网络";
        self.now_net_3G_4G           = @"当前网络链接为3G或4G的网络";
        self.now_net_WIFI            = @"当前网络链接为wifi网络";
        self.now_net_Failed          = @"网络失败";
        
        self.root_QRScan             = @"二维码扫描";
        self.login_wechat            = @"微信";
        self.login_weibo             = @"微博";
        self.login_forget_pwd        = @"忘记密码";
        
        self.get_failed              = @"获取失败";
        self.get_successful          = @"成功";
        self.player_vc_ask           = @"问";
        self.mine_no_info_tip        = @"抱歉，暂时未找到任何信息";
        self.mine_info_title         = @"个人资料";
        
        self.answer_right            = @"正确";
        self.answer_wrong            = @"错误";
    }
    
    else if (languageType == kLanguage_Type_English)
    {
        self.language         = @"ENGLISH";
        self.setting_language = @"Language";
        self.museumName       = @"Chengdu Museum";
        //提示框（多个地方用到）
        self.alertTitle   = @"Alert";
        self.alertCancel  = @"Cancel";
        self.alertOK      = @"OK";
        self.InvalidInput = @"Serial number not existing!";
        self.sizeIsZero   = @"No interpretation yet";
        
        self.download_Size     = @"Size";
        self.cameraUnavailable = @"No permission to access the camera, please set it up in system Settings.";
        self.beaconUnavailable = @"No permission to access Bluetooth, please set it up in system Settings.";
        self.beaconClose       = @"Please turn on Bluetooth.";
        
        //首屏：
        self.QRCodePage   = @"QRCode Scanning";
        
        //下载与解压：
        self.downloading           = @" Downloading...";
        self.downloadingNow        = @"Downloading";
        self.downloadFailed        = @"Download failed！";
        self.connectFailed         = @"Failed!";
        self.downloadNetFailed     = @"Download failed, pleas check network!";
        self.downloadSizeZero      = @"Fail to get contents from server.";
        self.instralling           = @"Installing contents...";
        self.deleteRes             = @"Delete contents";
        self.noResTip              = @"No contents in this language";
        self.deleteResTip          = @"Are you sure to delete all contents in this language?";
        self.autoGuideSearch       = @"Exhibit name or number";
        
        //组群：
        self.joinGroup             = @"Join group";
        self.exitGroup             = @"Exit";
        self.registerGroup         = @"Create group";
        self.registerFailed        = @"Fail to create a new group";
        self.myGroupQuit           = @"Are you sure to exit this group?";
        self.myGroupNumberEnter    = @"Enter the number of a group";
        self.myEnterNumber         = @"Enter number only";
        
        //设置：
        self.settingLanguage      = @"Language";
        self.allResourceTips      = @"Interpretation contents existing, do yo want to download again?";
        self.strategy_feedback    = @"Feedback";
        
        self.joinFailed            = @"Fail to join";
        self.joinSuccess           = @"Joined";
        self.noLocationInfo        = @"Location of the current member not available";
        self.myinformation         = @"My Profile";
        self.inputNickName         = @"Enter a new name";
        self.nickNameFailed        = @"Change Failed";
        
        self.nameNotNil            = @"Cannot be blank or have space";
        self.nameLabel             = @"Name:";
        self.mineCategory          = @"Group:";
        
        // 按照页面总结：
        self.rootDownloadTip       = @"Please download for a better experience";
        self.rootDownloadAll       = @"Download all contents of exhibits";
        self.rootDownloadThumb     = @"Download all pictures of exhibits";
        self.rootLogin             = @"Login";
        self.tipInputNameLogin     = @"Account";
        self.login_by_other        = @"Use another account to login";
        
        self.root_vc_news          = @"News";
        self.root_vc_highlight     = @"Highlights";
        self.root_vc_photo         = @"Photo";
        self.root_vc_search        = @"Souvenir";
        self.news_vc_activity      = @"Events";
        self.news_vc_message       = @"Messages";
        
        self.rootRegister          = @"Sign up";
        self.registerID            = @"Enter account";
        self.registerPwdInput      = @"Enter password";
        self.registerID6_8         = @"Account (6-20 letters)";
        
        self.registerPwd           = @"Password";
        self.registerPwdSure       = @"Confirm password";
        self.registerNickName      = @"Name";
        self.registerPhone         = @"Mobile number";
        self.registerSubmit        = @"Submit";
        self.registerSuccess       = @"Signed up";
        self.loginSuccess          = @"Logged in";
        self.loginFailed           = @"Fail to login";
        self.loginOutFailed        = @"Failed";
        self.loginOutSuccess       = @"Success";
        self.under_check           = @"Under check now";
        
        self.strategy_intro          = @"About Us";
        self.strategy_visit_guide    = @"Guide";
        self.strategy_traffic        = @"Traffic";
        self.strategy_near_scene     = @"Nearby Tourist Attractions";
        self.strategy_near_eating    = @"Nearby Food & Drink";
        self.strategy_book_online    = @"Booking Online";
        self.strategy_book_ticket    = @"Book Tickets";
        
        self.strategy_study          = @"Worksheets";
        self.strategy_companion      = @"My Companion";
        self.strategy_survey         = @"Questionnaire";
        self.strategy_help           = @"Help";
        self.strategy_setting        = @"Settings";
        
        self.login_photo             = @"Profile Photo";
        self.login_take_photo        = @"Take a photo";
        self.login_take_album        = @"Choose from photo library";
        self.mine_footprint          = @"Footprints";
        self.mine_booking            = @"Reservation";
        self.mine_comment            = @"Comments";
        self.mine_prize              = @"My Likes";
        self.mine_new_nickname       = @"Edit name";
        self.mine_volunteer          = @"volunteer";
        
        self.min_info_photo          = @"Profile Photo";
        self.min_info_name           = @"Name";
        self.min_info_sex            = @"Gender";
        self.min_info_card           = @"Certificate";
        self.min_info_career         = @"Career";
        self.min_info_signature      = @"Introduction";
        
        self.min_info_card_type      = @"Choose certificate";
        self.min_info_card_number    = @"Enter your certificate number";
        self.min_edit_sex            = @"Edit gender";
        self.min_edit_card           = @"Edit certificate";
        self.min_edit_career         = @"Edit occupation";
        self.min_edit_signature      = @"Edit introduction";
        self.mine_new_nickname       = @"Edit name";
        self.min_edit_career_other   = @"Others";
        self.min_edit_career_input   = @"Enter the name of your occupation";
        
        self.root_news               = @"Messages";
        self.root_no_news            = @"No Messages";
        self.strategy_mechine_book   = @"Reservation Audio Guides";
        self.strategy_guide_book     = @"Booking interpretation service";
        self.mine_begin_study        = @"Start answering questions";
        self.donwloading_res         = @"Download contents";
        self.delete_res              = @"Delete all contents";
        self.setting_version         = @"Version";
        self.setting_logout          = @"Log out";
        
        self.no_such_goods           = @"No relevant exhibits";
        self.cd_museum_area          = @"Moments";
        self.cd_museum_area_detail   = @"Moments Detail";
        self.cd_mine_post            = @"My Posts";
        self.cd_mine_post_nil        = @"No Posts";
        self.cd_mine_comment         = @"Write a comment";
        self.cd_mine_send            = @"Send";
        self.cd_mine_comment_nil     = @"No contents";
        self.cd_mine_idea            = @"My mind at the moment";
        
        self.root_culture_goods      = @"Souvenir";
        self.root_res_list           = @"List";
        self.root_map                = @"Map";
        self.root_floor_change       = @"Switch floor";
        self.root_share_photo        = @"Share your photo";
        self.root_my_loc             = @"My Location";
        self.root_service_utility    = @"Facilities";
        self.root_no_loc             = @"No location";
        self.friend_no_loc           = @"No location";
        
        self.map_locate_pre          = @"You are at ";
        self.map_locate_suffix       = @"Floor. Enter or not?";
        self.map_wash_room           = @"Restroom";
        self.map_drinking            = @"Drinking Water";
        self.map_baby_room           = @"Baby Care Room";
        self.map_lift                = @"Elevator";
        self.map_ladder              = @"Escalator";
        self.map_rest_area           = @"Lounge";
        self.map_culture_area        = @"Cultural & Creative Service Area";
        self.map_cafe                = @"Cafe";
        self.map_eating              = @"Dining Area";
        self.map_bookstore           = @"Book Bar";
        self.map_study_area          = @"Public Education Area";
        
        self.map_route_creat         = @"Choose route";
        self.map_route_creat_ok      = @"Create route";
        self.map_route_hot           = @"Popular route";
        self.map_route_fine          = @"Route of Highlights";
        self.map_route_quick         = @"快速参观路线";
        self.map_route_son           = @"亲子参观路线";
        self.map_route_brick         = @"汉代画像砖石路线";
        self.map_route_mine          = @"自定义路线";
        self.map_loc_start           = @"Where to Start";
        self.userSignature           = @"No Introduction";
        
        self.root_list_product_pre   = @" Exhibits";
        self.player_product_nearby   = @"Nearby exhibit";
        self.player_share_failed     = @"Fail to share";
        self.player_share_success    = @"Share success";
        self.player_enter_floor      = @"Enter this exhibition hall";
        self.now_net_unknown         = @"Unidentified network";
        self.now_net_unconnect       = @"Network unavailable, please check.";
        self.now_net_3G_4G           = @"In 3G/4G network";
        self.now_net_WIFI            = @"In Wi-Fi";
        self.now_net_Failed          = @"Unconnected";
        
        self.root_QRScan             = @"QRCode scan";
        self.login_wechat            = @"WeChat";
        self.login_weibo             = @"Weibo";
        self.get_failed              = @"Failed";
        self.login_forget_pwd        = @"Forget password";
        
        self.get_successful          = @"Successful";
        self.player_vc_ask           = @"Ask";
        self.mine_no_info_tip        = @"Sorry, no records";
        self.mine_info_title         = @"Profile";
        
        self.answer_right            = @"Correct";
        self.answer_wrong            = @"Wrong";
    }
}

@end
